Semiconductor device and production method thereof

ABSTRACT

An object of the present invention is to provide a semiconductor device having a nonvolatile memory cell of a high operation speed and a high rewrite cycle and a nonvolatile memory cell of high reliability. In a split gate type nonvolatile memory in which memory gate electrodes are formed in the shape of sidewalls of control gate electrodes, it is possible to produce a memory chip having a memory of a high operation speed and a high rewrite cycle and a memory of high reliability at a low cost by jointly loading memory cells having different memory gate lengths in an identical chip.

CROSS-REFERENCE TO RELATED APPLICATIONS

The disclosure of Japanese Patent Application No. 2009-132668 filed onJun. 2, 2009 including the specification drawings and abstract isincorporated herein by reference in its entirety.

BACKGROUND OF THE INVENTION

The present invention relates: to a semiconductor device and aproduction method thereof; and in particular to a technology effectivelyapplied to a semiconductor device having a nonvolatile memory cell amemory gate electrode of which is formed over the sidewall of a controlgate electrode and a production method thereof.

A semiconductor device formed by jointly loading an electricallyrewritable nonvolatile memory and a microcomputer over a single siliconsubstrate is widely used as an embedded microcomputer for an industrialmachine, a household appliance, an in-vehicle device, or the like.

A nonvolatile memory in such a semiconductor device is used by storingand occasionally retrieving a program required by a microcomputer. As anonvolatile memory cell having a structure suitable for such jointloading, there is a split gate type memory cell formed by coupling acontrol MIS (Metal Insulator Semiconductor) transistor to a memory MIStransistor in series.

Among the split gate type memory cells, in particular a memory cell of astructure formed by disposing the gate electrode of a memory MIStransistor (a memory gate electrode) over the sidewall of the gateelectrode of a control MIS transistor (a control gate electrode) byusing a self-aligning technology: can reduce the gate length of thememory gate electrode to a length not longer than the minimum resolutionlimit of lithography; and hence can realize a memory cell finer than amemory cell having a structure formed by individually forming a controlgate electrode and a memory gate electrode by etching with a photoresistfilm as a mask.

In two kinds of MIS transistors configuring a split gate type memorycell, the memory MIS transistor stores information by making a chargeretention film retain electric charge and there are mostly two kinds asthe charge retention methods. One is a floating gate method of using aconductive polycrystalline silicon film as the charge retention film andthe other is a MONOS (Metal Oxide Nitride Oxide Semiconductor) method ofusing an insulation film having a nature of accumulating electric chargesuch as a silicon nitride film as the charge retention film and storingthe electric charge in the charge retention film.

Japanese Unexamined Patent Publication No. 2006-100531 discloses atechnology of realizing the higher integration and improving the rewritecycle of a semiconductor device having nonvolatile memory elements by:jointly loading a first MONOS nonvolatile memory element and a secondMONOS nonvolatile memory element having a gate width wider than thefirst MONOS nonvolatile memory element over an identical substrate; andusing the first MONOS nonvolatile memory element for storing programdata of a low rewrite cycle and the second MONOS nonvolatile memoryelement for storing processing data of a high rewrite cycle.

An electrically rewritable nonvolatile memory such as an EEPROM(Electrically Erasable Programmable Read Only Memory) or a flash memorycan rewrite a program in an on-board state, hence allows the developmentperiod to be shortened and the development efficiency to be improved,and thus is used in various applications including the application tothe production of small batches of a variety of products, tuning forindividual applications, and updating a program after delivery. Inrecent years, demands for a microcomputer jointly loaded with a flashmemory are strong and the diversification of a specification required ofa jointly loaded flash memory advances. In an in-vehicle application inparticular, there are various requests for high reliability, high speedmovement, the expansion of movement assurance temperature range, and theincrease of a rewrite cycle.

In order to meet all the requests with a single kind of a memory cellhowever, it is necessary for example to develop a memory having a highoperation speed, a high rewrite cycle, high reliability, and very highperformance, but on this occasion the development period prolongs andthe production cost increases undesirably. Consequently, a microcomputerloaded with memories that are selectively formed efficiently and have aplurality of capabilities conforming to intended uses in an identicalchip is also developed.

SUMMARY OF THE INVENTION

In a conventional technology, when memory performance is controlled bychanging the gate width (Wg) of a memory, the properties of the memorylargely depend on the gate length and hence it is desired to improve theconventional technology so as to selectively obtain intendedperformance.

In the case of a split gate type memory in which a memory gate electrodeis formed in the shape of a sidewall over a sidewall on one side of acontrol gate electrode, the length of the memory gate electrode isdecided in accordance with the thickness of a gate polysilicon film in aself-aligning manner. That is, since the length of the memory gateelectrode is decided in accordance with the thickness of a polysiliconfilm, it is desired to improve a technology of forming different memorygate lengths in an identical chip with a high degree of accuracy.

In view of the above situation, the present inventors have studied amethod for selectively forming memory gate lengths in an identical chipaccurately and easily and jointly loading memory cells having pluralkinds of performance over the identical chip.

An object of the present invention is to provide a semiconductor devicehaving a nonvolatile memory cell of a high operation speed and a highrewrite cycle and a nonvolatile memory cell of high reliability byjointly loading memory cells having different memory gate lengths in anidentical chip.

Another object of the present invention is to provide a technology thatcan: shorten the development period of a semiconductor device havingnonvolatile memory cells; and reduce the chip area at a low cost.

The above and other objects and novel features of the present inventionwill be obvious in reference to the descriptions and the attacheddrawings in the present specification.

The brief outline of the representative inventions among the inventionsdisclosed in the present application is explained as follows.

A semiconductor device according to the first aspect of the presentapplication is a semiconductor device having a first memory cell and asecond memory cell formed over the main face of a semiconductorsubstrate, in which: each of the first and second memory cells has awell of a first conductivity type formed in the semiconductor substrate,a first gate insulation film formed over the well, a control gateelectrode formed over the semiconductor substrate through the first gateinsulation film, a second gate insulation film extendedly formed over asidewall on one side of the control gate electrode and the well, amemory gate electrode formed over the sidewall on one side of thecontrol gate electrode and insulated from the control gate electrode andthe semiconductor substrate through the second gate insulation film, adrain region comprising a semiconductor region of a second conductivitytype functioning as the conductivity type opposite to the firstconductivity type formed over the semiconductor substrate in thevicinity of the control gate electrode, and a source region comprising asemiconductor region of the second conductivity type formed over thesemiconductor substrate in the vicinity of the memory gate electrode;and the gate length of the memory gate electrode of the first memorycell is longer than the gate length of the memory gate electrode of thesecond memory cell.

The effects obtained by representative inventions among the inventionsdisclosed in the present application are briefly explained as follows.

By jointly loading memory cells having different memory gate lengths inan identical chip, it is possible to provide a semiconductor devicehaving a nonvolatile memory cell of a high operation speed and a highrewrite cycle and a nonvolatile memory cell of high reliability.

Further, it is possible to shorten the development period of asemiconductor device having nonvolatile memory cells and reduce the chiparea at a low cost.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a sectional view showing a substantial part of a semiconductordevice studied by the present inventors.

FIG. 2 is a plan view showing the layout of a microcomputer according toEmbodiment 1 of the present invention.

FIG. 3 is a sectional view of a substantial part explaining the movementof a nonvolatile memory.

FIG. 4 is a sectional view of a substantial part showing the productionmethod of a semiconductor device according to Embodiment 1 of thepresent invention.

FIG. 5 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 4.

FIG. 6 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 5.

FIG. 7 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 6.

FIG. 8 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 7.

FIG. 9 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 8.

FIG. 10 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 9.

FIG. 11 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 10.

FIG. 12 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 11.

FIG. 13 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 12.

FIG. 14 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 13.

FIG. 15 is a sectional view of a substantial part showing the productionmethod of a semiconductor device according to Embodiment 2 of thepresent invention.

FIG. 16 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 15.

FIG. 17 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 16.

FIG. 18 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 17.

FIG. 19 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 18.

FIG. 20 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 19.

FIG. 21 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 20.

FIG. 22 is a sectional view of a substantial part showing the productionmethod of a semiconductor device according to Embodiment 3 of thepresent invention.

FIG. 23 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 22.

FIG. 24 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 23.

FIG. 25 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 24.

FIG. 26 is a sectional view of the substantial part showing theproduction method of the semiconductor device in succession to FIG. 25.

FIG. 27 is a sectional view showing a substantial part of asemiconductor device studied by the present inventors.

FIG. 28 is a sectional view showing a substantial part of asemiconductor device studied by the present inventors.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

In each of the following embodiments, each embodiment is explained bybeing divided into plural sections or plural configurations if needarises for convenience sake but, unless otherwise specified, thosedivided sections or configurations are not unrelated to each other andone is related to a part or all of another as a modification, a detail,or a supplemental explanation of the other.

In each of the following embodiments further, when a number of elementsand the like (including a number of pieces, a numerical value, aquantity, a range, and others) are referred to, the number of elementsis not particularly limited to the specific number and may take a numbermore or less than the specific number unless otherwise specified orobviously limited to a specific number in principle.

In each of the following embodiments furthermore, it goes without sayingthat a component (including an element step) is not necessarilyessential unless otherwise specified or obviously considered to beessential in principle. Additionally, it goes without saying that, withregard to a component or the like in an embodiment or the like, when“comprising A” or “being comprised of A” is referred to, the expressiondoes not exclude another component unless otherwise specifiedexclusively as the component.

In each of the following embodiments likewise, when the shape, thepositional relation, or the like of a component or the like is referredto, the shape or the like substantially includes a shape or the likethat is closely related or similar to the shape or the like unlessotherwise specified or obviously considered to be otherwise inprinciple. This concept is applied likewise to a numerical value and arange stated above.

Further, when a material or the like is referred to, the specifiedmaterial is a primary material and a secondary material, an additive, anadditional component, or the like is not excluded unless otherwisespecified or denied in principle or circumstantially. For example, asilicon member includes not only pure silicon but also added impurities,binary and ternary alloys and other alloys containing silicon as themain component (SiGe for example), and others unless otherwisespecified.

Furthermore, in all the drawings used for explaining the followingembodiments, components having identical functions are represented by anidentical symbol in principle and repeated explanations are avoided.

Moreover, in the drawings used in the following embodiments, even a planview may be hatched partially in some cases in order to facilitatevisualization.

Embodiment 1

FIG. 1 is a sectional view showing a substantial part in a memory alleyregion of a semiconductor device according to Embodiment 1 of thepresent invention. FIG. 2 is a plan view showing the layout of thesemiconductor device according to Embodiment 1 of the present inventionand the microcomputer is equipped with a nonvolatile memory module 31for programs, a nonvolatile memory module 32 for data, a peripheralcircuit 33, a RAM (Random Access Memory) 34, and a CPU (CentralProcessing Unit)/DSP (Digital Signal Processor) 35.

The semiconductor device according to the present embodiment includes anonvolatile semiconductor memory device having split gate type memorycells of a MONOS type. The split gate type memory cells of the presentembodiment comprise control MIS transistors and memory MIS transistorswhich are formed over a p-type well 2 in a p-type silicon substrate 1,as shown in FIG. 1. Gate electrodes of the control MIS transistors(control gate electrodes 5 a and 5 b) functioning as conductive films:comprise, for example, an n-type polycrystalline silicon film and acobalt silicide film 16 that is a silicide film formed over the surfaceof the n-type polycrystalline silicon; and are formed over a gateinsulation film 3 comprising an after-mentioned high permittivity film(a high-k film) such as a silicon oxide film or hafnium oxide (HfSiON).Gate electrodes of the memory MIS transistors (memory gate electrodes 11a and 11 b) functioning as conductive films: comprise, for example, an-type polycrystalline silicon film and a cobalt silicide film 16 thatis a silicide film formed over the surface of the n-type polycrystallinesilicon; and are disposed respectively over the sidewall on one side ofeach of the control gate electrodes 5 a and 5 b. The control gateelectrodes 5 a and 5 b are coupled to a word line and the memory gateelectrodes 11 a and 11 b are coupled to a memory gate line although thediagrammatic representation is omitted.

The memory gate electrodes 11 a and 11 b are electrically separated fromthe control gate electrodes 5 a, 5 b and the p-type well 2 through agate insulation film comprising a bottom oxide film 6, a silicon nitridefilm 7, and a top oxide film 8. As described hereinafter, the siliconnitride 7 functions as a charge retention film.

In the p-type well 2 near the control gate electrodes 5 a and 5 b, isformed an n⁺-type semiconductor region 15 functioning as a drain regionand a source region of the memory cells. The drain region in the n⁺-typesemiconductor region 15 is coupled to a data line and the source regionis coupled to a common source line. The data line and the source lineare: formed over an interlayer insulation film 18 with which the memorycells are covered; and electrically coupled to the n⁺-type semiconductorregion 15 through contact plugs 20 in contact holes 19. The data linecomprises a metal film mainly made of, for example, an aluminum alloy ora copper alloy and the contact plugs 20 comprise a metal film mainlymade of, for example, tungsten.

In a region adjacent to the n⁺-type semiconductor region 15 in thep-type well 2, is formed an n⁻-type semiconductor region 12 having alower impurity concentration than the n⁺-type semiconductor region 15.The n⁻-type semiconductor region 12 is an extension region formitigating a high electrical field at the end of the n⁺-typesemiconductor region 15 and making the control MIS transistors form anLDD (Lightly Doped Drain) structure. Sidewalls 14 comprising a siliconoxide film functioning as an insulation film are formed over thesidewalls on the other sides of the control gate electrodes 5 a and 5 band the sidewall on one side of each of the memory gate electrodes 11 aand 11 b. The sidewalls 14 are used for forming the n⁺-typesemiconductor region 15.

Here, a gate length referred to in the embodiments of the presentspecification means the length of a control gate electrode or a memorygate electrode in a direction (a second direction) perpendicular to adirection (a first direction) in which the control gate electrode or thememory gate electrode extends. Further, a gate width referred to in theembodiments means the length of a control gate electrode or a memorygate electrode in the first direction. Memory cells are separated in thefirst direction by an element isolation region (STI or LOCOS) over thesemiconductor substrate but are commonly coupled to each other throughthe control gate electrodes and the memory gate electrodes extending inthe first direction.

Here, the gate length La of the memory gate electrode 11 a is longerthan the gate length Lb of the memory gate electrode 11 b. The memorycell having the memory gate electrode 11 a of the longer gate length isformed in the nonvolatile memory module 32 for data shown in FIG. 2 andthe memory cell having the memory gate electrode 11 b of the shortergate length is formed in the nonvolatile memory module 31 for programsshown in FIG. 2. In the present semiconductor device therefore, thememory cells having the memory gate electrodes of the different gatelengths are formed in a single chip over the identical substrate. Here,the gate width of the memory cells is identical in the presentembodiment.

Successively, movements of a nonvolatile memory cell according toEmbodiment 1 are explained in reference to FIG. 3. Here, a voltageapplied to a control gate electrode 5 b is represented by Vcg and avoltage applied to a memory gate electrode 11 b by Vmg. Further,voltages applied to a source region and a drain region are representedby Vs and Vd respectively and a voltage applied to a p-type well 2 byVsub. Injection of electrons to a silicon nitride film 7 functioning asa charge retention film is defined as “writing” and injection ofpositive holes (holes) to a silicon nitride film 7 as “erasing”.

Firstly, write operation is explained. The write operation is carriedout by hot electron writing called a source side injection method. Asthe writing voltages for example, the voltage Vs applied to the sourceregion is set at 5 V, the voltage Vmg applied to the memory gateelectrode 11 b at 10 V, and the voltage Vcg applied to the control gateelectrode 5 b at 1V. Then the voltage Vd applied to the drain region iscontrolled so that a channel current may take a certain set value atwriting. On this occasion, the voltage Vd is determined by the set valueof the channel current and the threshold voltage of the selectedtransistor having the control gate electrode 5 b and is about 0.5 V forexample. The voltage Vsub applied to the p-type well 2 is 0 V. In thepresent specification, a semiconductor region to which a high voltage isapplied at write operation is called a source region and a semiconductorregion to which a low voltage is applied at write operation is commonlycalled a drain region. As shown in FIG. 3, the semiconductor regioncomprising the deep high-concentration impurity diffusion region NR1 andthe shallow low-concentration impurity diffusion region EX1 on thememory gate electrode 11 b side is the source region and thesemiconductor region comprising the deep high-concentration impuritydiffusion region NR2 and the shallow low-concentration impuritydiffusion region EX2 on the control gate electrode 5 b side is the drainregion.

Movement of electric charge when such voltages are applied and writeoperation is carried out is shown. As stated above, electrons flow inthe channel region formed between the source region and the drain regionby imposing an electric potential difference between the voltage Vsapplied to the source region and the voltage Vd applied to the drainregion. The electrons flowing in the channel region: are accelerated inthe channel region (between the source region and the drain region)under the vicinity of the boundary between the control gate electrode 5b and the memory gate electrode 11 b; and come to be hot electrons. Thenthe hot electrons are injected into the silicon nitride film 7 under thememory gate electrode 11 b in the electric field in the verticaldirection caused by the positive voltage (Vmg=10 V) applied to thememory gate electrode 11 b. The injected hot electrons are trapped in atrap level in the silicon nitride film 7 and, as a result, the electronsare accumulated in the silicon nitride film 7 and the threshold voltageof the memory transistor rises. The write operation is carried out inthis way.

Successively, erasing operation is explained. The erasing operation iscarried out by, for example, BTBT (Band to Band Tunneling) erasing inwhich hot holes generated by an interband tunneling phenomenon areinjected. In the BTBT erasing for example, the voltage Vmg applied tothe memory gate electrode 11 b is set at −6 V, the voltage Vs applied tothe source region at 6 V, the voltage Vcg applied to the control gateelectrode 5 b at 0 V, and the drain region is opened. By so doing, thepositive holes generated at the source region edge by the voltageapplied between the source region and the memory gate electrode 11 bthrough the interband tunneling phenomenon are accelerated by the highvoltage applied to the source region and come to be hot holes. Then someof the hot holes are drawn by the negative voltage applied to the memorygate electrode 11 b and injected into the silicon nitride film 7. Theinjected hot holes are trapped in the trap level in the silicon nitridefilm 7 and the threshold voltage of the memory transistor lowers. Theerasing operation is carried out in this way.

Successively, read operation is explained. Readout is carried out bysetting the voltage Vd applied to the drain region at Vdd (1 V), thevoltage Vs applied to the source region at 0 V, the voltage Vcg appliedto the control gate electrode 5 b at Vdd (1.5 V), and the voltage Vmgapplied to the memory gate electrode 11 b at 0 V, and applying electriccurrent in the direction opposite to the direction at writing. It isalso possible to carry out readout by applying electric current in thesame direction as at the time of writing by interchanging the voltage Vdapplied to the drain region and the voltage Vs applied to the sourceregion and setting them at 0 V and 1 V respectively. On this occasion,when the memory cell is in the state of writing and the thresholdvoltage is high, electric current does not flow in the memory cell. Incontrast, when the memory cell is in the state of erasing and thethreshold voltage is low, electric current flows in the memory cell.

As stated above, it is possible to judge whether a memory cell is in thestate of writing or in the state of erasing by detecting whether or notelectric current flows in the memory cell. More specifically, whether ornot electric current flows in a memory cell is detected with a senseamplifier. For example, a reference current is used in order to detectwhether or not electric current flows in a memory cell. That is, when amemory cell is in the state of erasing, a read current flows at the timeof readout and the read current is compared with the reference current.The reference current is set so as to be lower than the read current inthe state of erasing and, as a result of comparing the read current withthe reference current, when the read current is larger than thereference current, it is judged that the memory cell is in the state oferasing. In contrast, when the memory cell is in the state of writing,the read current does not flow. That is, as a result of comparing theread current with the reference current, when the read current issmaller than the reference current, it is judged that the memory cell isin the state of writing. The read operation is carried out in this way.

The above operations are not changed even in a memory cell having amemory gate electrode of a different gate length.

A method for producing nonvolatile memories according to the presentembodiment is hereunder explained in the order of the process steps inreference to FIGS. 4 to 14.

Firstly, as shown in FIG. 4, a p-type well 2 is formed by ion-implantingp-type impurities (for example B (boron)) in the main face of a siliconsubstrate 1, a gate insulation film 3 about 1 to 5 nm in thicknesscomprising for example silicon oxide is formed over the surface of thesilicon substrate 1, and thereafter a polycrystalline silicon film 4 forexample about 200 nm in thickness is formed as a conductive film overthe main face of the silicon substrate 1 by a CVD method. Here, the gateinsulation film 3 is not limited to silicon oxide and may comprise asilicon oxynitride film (SiON) or a high-dielectric film having a higherdielectric constant than a silicon oxide film. When the gate insulationfilm 3 is formed with a silicon oxynitride film, the effects ofinhibiting an interface state from being generated in the film andreducing electron trap are higher than a silicon oxide film.Consequently, it is possible to improve the hot carrier tolerance andthe insulation performance of the gate insulation film GOX. Further, inthe case of a silicon oxynitride film, impurities penetrate more hardlythan in the case of a silicon oxide film. In contrast, when the gateinsulation film 3 is formed with a gate insulation high-dielectric film,it is possible to increase the physical film thickness even when thecapacity is unchanged and hence reduce leak current. For example, ahafnium oxide film (HfO₂ film) that is a kind of hafnium oxides is usedas a high-dielectric film but, in place of the hafnium oxide film,another hafnium-system insulation film such as a hafnium aluminate film,an HfON film (a hafnium oxynitride film), an HfSiO film (a hafniumsilicate film), an HfSiON film (a hafnium silicon oxynitride film), oran HfAlO film may be used. Further, it is also possible to use ahafnium-system insulation film produced by introducing oxide such astantalum oxide, niobium oxide, titanium oxide, zirconium oxide,lanthanum oxide, or yttrium oxide into such a hafnium-system insulationfilm. A hafnium-system insulation film, like a hafnium oxide film, has ahigher dielectric constant than a silicon oxide film or a siliconoxynitride film and hence can obtain effects similar to the case where ahafnium oxide film is used.

Successively, as shown in FIG. 5, parts of the polycrystalline siliconfilm 4 and the gate insulation film 3 are removed by dry etching inwhich a photoresist film (not shown in the figure) is used as the maskand control gate electrodes 5 a and 5 b comprising the polycrystallinesilicon film 4 are formed respectively.

Successively, as shown in FIG. 6, a bottom oxide film 6 as a potentialbarrier film becoming a part of a memory gate insulation film is formedover the main face of the silicon substrate 1. The bottom oxide film 6is formed for example by a thermal oxidation method or an ISSG oxidationmethod. Successively, a silicon nitride film 7 as a charge retentionfilm becoming a part of the memory gate insulation film is formed. Thesilicon nitride film 7 is formed for example by using dichlorosilane(SiH₂Cl₂) and ammonia (NH₃) as the raw materials and a thermal CVDmethod of about 800° C. and the thickness of the film is set at about 5to 20 nm. The thickness of the silicon nitride film 7 is determinedarbitrarily from the viewpoint of requirement for reducing operatingvoltage and improving charge retention properties. Further, a top oxidefilm 8 as a potential barrier film becoming a part of the memory gateinsulation film is formed. The top oxide film 8 is formed by oxidizing apart of the silicon nitride film 7 by an ISSG oxidation method. The topoxide film 8 may be formed also by a dry oxidation method, a wetoxidation method, or a plasma oxidation method, in place of the ISSGoxidation method. Further, the top oxide film 8 may be formed also bydepositing a silicon oxide film by a CVD method. The triple-layered filmcomprising the bottom oxide film 6, the silicon nitride film 7, and thetop oxide film 8 may collectively be referred to as an ONO film 30.Thereafter, a polycrystalline silicon film 9 is deposited over the mainface of the silicon substrate 1 by a CVD method. Here, as the chargeretention film, a film formed by dispersing silicon nanocrystallineparticles in a silicon oxide film may be used in place of the siliconnitride film. The silicon nanocrystalline particles are fine crystallinesilicon particles having diameters of several nanometers.

Successively, as shown in FIG. 7, a silicon oxide film 10 is depositedover the main face of the silicon substrate 1 by a CVD method andthereafter, by using a photolithography technology, a part of thesilicon oxide film 10 is removed by dry etching so that the siliconoxide film 10 may remain over the polycrystalline silicon film 9 formedover the sidewall of the control gate electrode 5 a. That is, thesilicon oxide film 10 over the polycrystalline silicon film 9 formedover the sidewall of the control gate electrode 5 b is removed.

Successively, as shown in FIG. 8, the silicon oxide film 10 is etchedback by dry etching and a part of the silicon oxide film 10 is left inthe shape of a sidewall over both the sidewalls of the polycrystallinesilicon film 9 with which the control gate electrode 5 a is covered.When this etching is applied, etching conditions that allow the siliconoxide film 10 to be sufficiently etched and do not substantially allowthe polycrystalline silicon film 9 to be etched are used.

Successively, as shown in FIG. 9, parts of the polycrystalline siliconfilm 9 are removed by dry etching. On this occasion, over the sidewallof the ONO film 30 with which the control gate electrode 5 b is covered,a part of the polycrystalline silicon film 9 is formed in the shape of asidewall in a self-aligning manner but, over the sidewall of the ONOfilm 30 with which the control gate electrode 5 a is covered, thesilicon oxide film 10 functions as a mask and the polycrystallinesilicon film 9 remains also under the silicon oxide film 10.Consequently, the length in the lateral direction of the bottom portionof the polycrystalline silicon film 9 formed over the sidewalls of thecontrol gate electrode 5 a comes to be longer than the length in thelateral direction of the bottom portion of the polycrystalline siliconfilm 9 formed over the sidewalls of the control gate electrode 5 b. Whenthis etching is applied, etching conditions that allow thepolycrystalline silicon film 9 to be sufficiently etched and do notsubstantially allow the silicon oxide film 10 to be etched are used.

Successively, as shown in FIG. 10, the silicon oxide film 10 is removedby dry etching or wet etching and thereafter a photoresist film (notshown in the figure) is formed over the main face of the siliconsubstrate 1. Thereafter, the polycrystalline silicon film 9 on one sideof each of the control gate electrodes 5 a and 5 b is removed by dryetching and the photoresist film is removed. Further, a part of thetriple-layered insulation film comprising the bottom oxide film 6, thesilicon nitride film 7, and the top oxide film 8 configuring the gateinsulation film of the memory gate electrodes 11 a and 11 b is removedby etching with hydrofluoric acid and phosphoric acid. By so doing, theONO film 30 remains only around the region covered with the memory gateelectrodes 11 a and 11 b comprising parts of the polycrystalline siliconfilm 9 (the sidewall on one side of each of the control gate electrodes5 a and 5 b and the bottom portions of the memory gate electrodes 11 aand 11 b) and the ONO film 30 of the other region is removed.

Successively, as shown in FIG. 11, an n⁻-type semiconductor region 12 isformed in the p-type well 2 by ion-injecting n-type impurities (forexample, P (phosphorus)) into the p-type well 2 at a low concentrationand thereafter a silicon oxide film 13 is deposited over the main faceof the silicon substrate 1 by a CVD method.

Successively, as shown in FIG. 12, the silicon oxide film 13 is etchedback by dry etching and sidewalls 14 comprising the silicon oxide film13 are formed.

Successively, as shown in FIG. 13, an n⁺-type semiconductor region(source and drain regions) 15 is formed by: ion-injecting n-typeimpurities (for example, P) into the p-type well 2 at a highconcentration; thereafter applying heat treatment to the siliconsubstrate 1; and thus dispersing the impurities. Thereafter, the controlgate electrodes 5 a and 5 b, the memory gate electrodes 11 a and 11 b,and the upper portion of the n⁺-type semiconductor region 15 aresilicified and a cobalt silicide film 16 is formed. The cobalt silicidefilm 16 is completed through the steps of: firstly depositing a cobaltfilm over the main face of the silicon substrate 1 by sputtering;successively applying heat treatment to the silicon substrate 1; andthereafter removing the unreacted cobalt film by wet etching. As asilicide film, a nickel silicide film, a titanium silicide film, or aplatinum silicide film may be formed.

Successively, as shown in FIG. 14, an etching stopper film 17 comprisinga silicon nitride film and an interlayer insulation film 18 comprising asilicon oxide film are deposited over the silicon substrate 1.Successively, contact holes 19 are formed in the etching stopper film 17and the interlayer insulation film 18, contact plugs 20 are embeddedinto the interior thereof, thereafter wires 21 are formed over theinterlayer insulation film 18, and thereby split gate type memories of aMONOS type shown in FIGS. 1 and 2 are completed.

Here, the gate length of the control gate electrodes 5 a and 5 b is setat a length in the range of 35 to 200 nm, the gate length La of a memorygate electrode 5 a is set at a length of 100 nm or less, and the gatelength Lb of the other memory gate electrode 5 b is set at a length of30 nm or more.

Here, the gate length La is set so as to be longer than the gate lengthLb by the length corresponding to the thickness of the silicon oxidefilm 10. That is, the gate lengths of the memory gate electrodes of eachmemory cell are set so as to be in the range of 40 to 100 nm and satisfythe condition La>Lb. By so doing, in the present embodiment, it comes tobe possible to jointly loading memories having plural kinds ofperformance conforming to the intended uses in an identical chip byforming split gate type memories containing memory gate electrodeshaving gate lengths different from each other. Further, it comes to bepossible to selectively produce memory gate electrodes having gatelengths different from each other easily and with a high degree ofaccuracy by inhibiting the number of process steps from increasing andusing a self-aligning technology.

Further, a memory MIS transistor including the memory gate electrode 11a: has a gate length La identical to or longer than the gate length ofthe control gate electrode 5 a; thus has a wide range for accumulatingelectric charge; hence has high memory reliability; and is used mainlyfor storing data.

Furthermore, a memory MIS transistor including the memory gate electrode11 b: has a gate length Lb shorter than the gate length of the controlgate electrode 5 b; thus can reduce the memory cell area; can increasethe speed of erasing electric charge and the speed of read operation;and hence is used mainly for programs.

Embodiment 2

A method for producing nonvolatile memories according to the presentembodiment is hereunder explained in the order of the process steps inreference to FIGS. 15 to 21.

Firstly, as shown in FIG. 15, in the same way as Embodiment 1, a gateinsulation film 3 and control gate electrodes 5 a and 5 b are formedrespectively over the main face of a silicon substrate 1 having a p-typewell 2. Thereafter an ONO film 30, a polycrystalline silicon film 9, anda silicon oxide film 10 are deposited sequentially over the main face ofthe silicon substrate 1 and parts of the silicon oxide film 10 areremoved by dry etching in which a photolithography technology is used sothat the silicon oxide film 10 may remain over the polycrystallinesilicon film 9 formed over the sidewalls of the control gate electrode 5a. That is, the silicon oxide film 10 over the polycrystalline siliconfilm 9 formed over the sidewalls of the control gate electrode 5 b isremoved. Thereafter, the remaining silicon oxide film 10 is etched backby dry etching and is left over both the sidewalls of thepolycrystalline silicon film 9 in the shape of a sidewall. When thisetching is applied, etching conditions that allow the silicon oxide film10 to be sufficiently etched and do not substantially allow thepolycrystalline silicon film 9 to be etched are used.

Successively, as shown in FIG. 16, parts of the polycrystalline siliconfilm 9 are removed by dry etching. On this occasion, over the sidewallsof the ONO film 30 with which the control gate electrode 5 b is covered,parts of the polycrystalline silicon film 9 are formed in the shape of asidewall in a self-aligning manner but, over the sidewalls of the ONOfilm 30 with which the control gate electrode 5 a is covered, thesilicon oxide film 10 functions as a mask and the polycrystallinesilicon film 9 remains also under the silicon oxide film 10. When thisetching is applied, etching conditions that allow the polycrystallinesilicon film 9 to be sufficiently etched and do not substantially allowthe silicon oxide film 10 to be etched are used.

Here, when dry etching is applied to the polycrystalline silicon film 9,the quantity of the shaved polycrystalline silicon film 9 is increasedand the height of the polycrystalline silicon film 9 after the etchingis lowered to a level lower than the case of Embodiment 1 by adjustingthe time spent for dry etching. That is, the polycrystalline siliconfilm is over-etched so that the height of the polycrystalline siliconfilm 9 may be lower than the height of the control gate electrodes 5 aand 5 b.

Successively, as shown in FIG. 17, the silicon oxide film 10 is removedby dry etching or wet etching and thereafter a photoresist film (notshown in the figure) is formed over the main face of the siliconsubstrate 1. Thereafter, the polycrystalline silicon film 9 on one sideof each of the control gate electrodes 5 a and 5 b is removed by dryetching, a part of the triple-layered insulation film comprising thebottom oxide film 6, the silicon nitride film 7, and the top oxide film8 configuring the gate insulation film is removed by etching withhydrofluoric acid and phosphoric acid, and thereafter the photoresistfilm is removed. By so doing, the ONO film 30 remains only between thememory gate electrodes 11 a and 11 b comprising parts of thepolycrystalline silicon film 9 and the control gate electrodes 5 a and 5b and between the memory gate electrodes 11 a and 11 b and the p-typewell 2, and the ONO film 30 of the other region is removed.

Successively, as shown in FIG. 18, an n⁻-type semiconductor region 12 isformed in the p-type well 2 by ion-injecting n-type impurities (forexample, P (phosphorus)) into the p-type well 2 at a low concentrationand thereafter a silicon oxide film 13 is deposited over the main faceof the silicon substrate 1 by a CVD method.

Successively, as shown in FIG. 19, the silicon oxide film 13 is etchedback by dry etching and sidewalls 14 comprising the silicon oxide film13 are formed. On this occasion, since the height of the memory gateelectrodes 11 a and 11 b is lower than the height of the control gateelectrodes 5 a and 5 b, parts of the top faces of the memory gateelectrodes 11 a and 11 b are covered with the silicon oxide film 13remaining over the sidewalls of the control gate electrodes 5 a and 5 b.Meanwhile, with regard to the sidewall 14 formed over the sidewall ofthe memory gate electrode 11 a, since the height of the memory gateelectrode 11 a is lowered by over etching as shown in FIG. 16, thesidewall 14 is not formed unlike the case of Embodiment 1 or, even if itis formed, formed in a smaller region than the case of Embodiment 1 inthe region where the silicon oxide film 10 removed through the processstep shown in FIG. 17 has been formed. The size of the region where thesidewall 14 is formed in the region where the silicon oxide film 10removed through the process step shown in FIG. 17 has been formed variesin accordance with the quantity of the memory gate electrode 11 a to beover-etched through the process step shown in FIG. 16. FIG. 19 and thefigures showing the succeeding process steps show the case where thesidewall 14 is not formed in the region where the silicon oxide film 10removed through the process step shown in FIG. 17 has been formed.

Successively, as shown in FIG. 20, an n⁺-type semiconductor region(source and drain regions) 15 is formed by: ion-injecting n-typeimpurities (for example, P) into the p-type well 2 at a highconcentration; thereafter applying heat treatment to the siliconsubstrate 1; and thus dispersing the impurities. Thereafter, the controlgate electrodes 5 a and 5 b, the memory gate electrodes 11 a and 11 b,and the upper portion of the n⁺-type semiconductor region 15 aresilicified and a cobalt silicide film 16 is formed. The cobalt silicidefilm 16 is completed through the steps of: firstly depositing a cobaltfilm over the main face of the silicon substrate 1 by sputtering;successively applying heat treatment to the silicon substrate 1; andthereafter removing the unreacted cobalt film by wet etching. As asilicide film, a nickel silicide film, a titanium silicide film, or aplatinum silicide film may be formed.

On this occasion, since the region where the memory gate electrode 11 ais covered with the sidewall 14 formed through the process step shown'inFIG. 19 is smaller than the case of Embodiment 1, the size of the regionwhere the cobalt silicide film 16 is formed over the surface of thememory gate electrode 11 a in the process step increases. As a result,it comes to be possible to reduce the resistance of the memory gateelectrode 11 a in comparison with the case of Embodiment 1.

On this occasion further, since the silicon oxide film 13 is formedbetween the control gate electrode 5 a and the memory gate electrode 11a, the distance between the cobalt silicide film 16 over the controlgate electrode 5 a and the cobalt silicide film 16 over the memory gateelectrode 11 a increases. As a result, it comes to be possible to reducethe probability of short-circuit generated between the cobalt silicidefilm 16 over the control gate electrode 5 a and the cobalt silicide film16 over the memory gate electrode 11 a.

Furthermore, since the silicon oxide film 13 is formed between thecontrol gate electrode 5 b and the memory gate electrode 11 b, thedistance between the cobalt silicide film 16 over the control gateelectrode 5 b and the cobalt silicide film 16 over the memory gateelectrode 11 b increases. As a result, it comes to be possible to reducethe probability of short-circuit generated between the cobalt silicidefilm 16 over the control gate electrode 5 b and the cobalt silicide film16 over the memory gate electrode 11 b.

The succeeding process steps are applied as shown in FIG. 21 in the sameway as Embodiment 1. That is, an etching stopper film 17 and aninterlayer insulation film 18 are deposited over the silicon substrate1, contact holes 19 are formed in the etching stopper film 17 and theinterlayer insulation film 18, contact plugs 20 are embedded into theinterior thereof, thereafter wires 21 are formed over the interlayerinsulation film 18, and thereby split gate type memories of a MONOS typeare completed.

Here, the gate length La is set so as to be longer than the gate lengthLb by the length corresponding to the thickness of the silicon oxidefilm 10 and, in the present embodiment, it comes to be possible tojointly loading memories having plural kinds of performance conformingto the intended uses in an identical chip by forming split gate typememories containing memory gate electrodes having gate lengths differentfrom each other. Further, it comes to be possible to selectively producememory gate electrodes having gate lengths different from each othereasily and with a high degree of accuracy by inhibiting the number ofprocess steps from increasing and using a self-aligning technology.

Further, in the present embodiment, since the silicon oxide film 13 isformed over the memory gate electrodes 11 a and 11 b by setting theheight of the top faces of the memory gate electrodes 11 a and 11 b soas to be lower than the control gate electrodes 5 a and 5 b, the leakcurrent caused by approximation of the electrodes is inhibited frombeing generated between the memory gate electrode 11 a and the controlgate electrode 5 a and between the memory gate electrode 11 b and thecontrol gate electrode 5 b respectively.

Embodiment 3

A method for producing nonvolatile memories according to the presentembodiment is hereunder explained in the order of the process steps inreference to FIGS. 22 to 26.

Firstly, as shown in FIG. 22, in the same way as Embodiment 1, a gateinsulation film 3 and control gate electrodes 5 a and 5 b are formedrespectively over the main face of a silicon substrate 1 having a p-typewell 2. Thereafter an ONO film 30 and a polycrystalline silicon film 9are deposited sequentially over the main face of the silicon substrate1.

Successively, as shown in FIG. 23, a photoresist film 22 is formed overthe main face of the silicon substrate 1 and, on this occasion, thephotoresist film 22 is formed so that only the vicinity of the sidewallon one side of the control gate electrode 5 a may be covered with thephotoresist film 22.

Successively, as shown in FIG. 24, parts of the polycrystalline siliconfilm 9 are removed by dry etching. On this occasion, over the sidewallof the ONO film 30 with which the control gate electrode 5 b is coveredand over the sidewall on one side of the ONO film 30 with which thecontrol gate electrode 5 a is covered, parts of the polycrystallinesilicon film 9 are formed in the shape of a sidewall in a self-aligningmanner. Over the sidewall on the other side of the ONO film 30 withwhich the control gate electrode 5 a is covered, the polycrystallinesilicon film 9 remains by using a photoresist film 22 as the mask.

Successively, as shown in FIG. 25, a photoresist film (not shown in thefigure) is formed over the main face of the silicon substrate 1.Thereafter, the polycrystalline silicon film 9 on one side of each ofthe control gate electrodes 5 a and 5 b is removed by dry etching, apart of the triple-layered insulation film comprising the bottom oxidefilm 6, the silicon nitride film 7, and the top oxide film 8 configuringthe gate insulation film is removed by etching with hydrofluoric acidand phosphoric acid, and thereafter the photoresist film is removed.

The succeeding process steps are applied as shown in FIG. 26 in the sameway as Embodiment 1. That is, an n⁻-type semiconductor region 12 isformed in the p-type well 2, sidewalls 14 comprising a silicon oxidefilm 13 are formed, and an n⁺-type semiconductor region 15 is formed inthe p-type well 2. Thereafter, the surfaces of the control gateelectrodes 5 a and 5 b, the memory gate electrodes 11 a and 11 b, andthe n⁺-type semiconductor region 15 are silicified, a cobalt silicidefilm 16 is formed, an etching stopper film 17, an interlayer insulationfilm 18, contact holes 19, contact plugs 20, and wires 21 are formed,and thereby split gate type memories of a MONOS type are completed. As asilicide film, a nickel silicide film, a titanium silicide film, or aplatinum silicide film may be formed.

Here, the gate length La is set so as to be longer than the gate lengthLb since the silicon oxide film 10 is covered with the photoresist film22 when the silicon oxide film is etched and, in the present embodiment,it comes to be possible to jointly loading memories having plural kindsof performance conforming to the intended uses in an identical chip byforming split gate type memories containing memory gate electrodeshaving gate lengths different from each other. Further, it comes to bepossible to selectively produce memory gate electrodes having gatelengths different from each other easily and with a high degree ofaccuracy by inhibiting the number of process steps from increasing andusing a self-aligning technology.

Embodiment 4

Embodiment 4 is a modified example that makes it possible to jointlyloading memories having plural kinds of performance conforming tointended uses in an identical chip in comparison with Example 1 statedearlier.

Whereas the memory gate electrodes 11 a and 11 b are formed only overthe sidewalls on one side of the control gate electrodes 5 a and 5 b inEmbodiment 1, in Embodiment 4 as shown in FIG. 27, memory gateelectrodes 11 a are formed over both the sidewalls of the control gateelectrode 5 a and a memory gate electrode 11 b is formed over thesidewall on one side of the control gate electrode 5 b. Otherwise asshown in FIG. 28, the memory gate electrodes 11 a and 11 b are formedover both the sidewalls of the control gate electrodes 5 a and 5 brespectively.

In Embodiment 4, in the same way as Embodiment 1, the gate length La ofeach of the memory gate electrodes 11 a is longer than the gate lengthLb of the memory gate electrode 11 b. A memory MIS transistor includingthe memory gate electrodes 11 a: has a gate length La identical to orlonger than the gate length of the control gate electrode 5 a; thus hasa wide range for accumulating electric charge; hence has high memoryreliability; and is used mainly for storing data. A memory MIStransistor including the memory gate electrode 11 b: has a gate lengthLb shorter than the gate length of the control gate electrode 5 b; thuscan reduce the memory cell area; can increase the speed of erasingelectric charge and the speed of read operation; and hence is usedmainly for programs.

A method for producing nonvolatile memories according to the presentembodiment is explained hereunder. The method can be applied in the sameway as the production method according to Embodiment 1 stated earlierexcept the following points.

Firstly, the case of the memory cells in FIG. 27 is explained. In thestep of removing the polycrystalline silicon film 9 on one side of thecontrol gate electrodes 5 a and 5 b by dry etching as it has beenexplained in reference to FIG. 10, the etching is applied to thepolycrystalline silicon film 9 on one side of the control gate electrode5 b. In contrast, in the case of the memory cells in FIG. 27, theetching is not applied by forming a photoresist film in the vicinitiesof the control gate electrode 5 a and the polycrystalline silicon film 9formed over both the sidewalls thereof. As a result, memory cells havinga structure in which the memory gate electrodes 11 a remain over boththe sidewalls of the control gate electrode 5 a and the memory gateelectrode 11 b is formed only over the sidewall on one side of thecontrol gate electrode 5 b can be obtained.

Further, in the case of the memory cells in FIG. 28, the step ofremoving the polycrystalline silicon film 9 on one side of the controlgate electrodes 5 a and 5 b by dry etching as it has been explained inreference to FIG. 10 is not applied. As a result, memory cells having astructure in which the memory gate electrodes 11 a and 11 b are formedover both the sidewalls of the control gate electrodes 5 a and 5 brespectively can be produced.

In this way in Embodiment 4, by forming the memory gate electrodes 11 aover both the sidewalls of the single control gate electrode 5 a, it ispossible to store two-valued data in the single memory cell and hencereduce the region where the memory cell used for storing data is formed.Further, in the case of forming the memory gate electrodes 11 b alsoover both the sidewalls of the control gate electrode 5 b, it ispossible to further reduce the region where the memory cell used forprograms is formed.

In Embodiment 4 further, in the same way as Embodiment 2, it is alsopossible to obtain a structure in which cobalt silicide is not formed inthe region of the memory gate electrodes 11 a and 11 b where siliconoxide is formed by forming the silicon oxide film 13 between the controlgate electrode 5 a and the memory gate electrodes 11 a and between thecontrol gate electrode 5 b and the memory gate electrode 11 b (graphicalillustration is omitted). On this occasion, it is possible to obtain theeffects similar to Embodiment 2. That is, the distance between thecobalt silicide film 16 over the control gate electrode 5 a and thecobalt silicide film 16 over the memory gate electrodes 11 a increases.As a result, it comes to be possible to reduce the probability ofshort-circuit generated between the cobalt silicide film 16 over thecontrol gate electrode 5 a and the cobalt silicide film 16 over thememory gate electrodes 11 a. Further, the distance between the cobaltsilicide film 16 over the control gate electrode 5 b and the cobaltsilicide film 16 over the memory gate electrode 11 b increases. As aresult, it comes to be possible to reduce the probability ofshort-circuit generated between the cobalt silicide film 16 over thecontrol gate electrode 5 b and the cobalt silicide film 16 over thememory gate electrode 11 b.

In Embodiment 4 furthermore, besides the above production method, it isalso possible to apply etching to the polycrystalline silicon film 9with a photoresist film in the same way as Embodiment 3 when the memorygate electrodes 11 a are formed over the sidewalls of the control gateelectrode 5 a. On this occasion, in the step of Embodiment 3 explainedin reference to FIG. 23, a photoresist film 22 is formed so that thevicinities on both the sides of the control gate electrode 5 a may becovered and etching is applied to the polycrystalline silicon film 9(graphical illustration is omitted). In this case too, the gate lengthLa is set so as to be longer than the gate length Lb since the controlgate electrode 5 a is covered with the photoresist film 22 when thesilicon oxide film 10 is etched and it comes to be possible to jointlyloading memories having plural kinds of performance conforming to theintended uses in an identical chip by forming split'gate type memoriescontaining memory gate electrodes having gate lengths different fromeach other. Further, it comes to be possible to selectively producememory gate electrodes having gate lengths different from each othereasily with a high degree of accuracy by inhibiting the number ofprocess steps from increasing and using a self-aligning technology.

The invention established by the present inventors is hereinbeforeexplained concretely on the basis of embodiments but it goes withoutsaying that the present invention is not limited to the embodiments andcan be variously modified in the range not deviating from the gist ofthe present invention.

A method for producing a semiconductor device according to the presentinvention is widely used for a nonvolatile memory mountable on amicrocomputer.

1. A semiconductor device comprising: a first memory cell and a secondmemory cell formed over the main face of a semiconductor substrate,wherein each of the first and second memory cells includes: a well of afirst conductivity type formed in the semiconductor substrate; a firstgate insulation film formed over the well; a control gate electrodeformed over the semiconductor substrate through the first gateinsulation film; a second gate insulation film extendedly formed overthe sidewall on one side of the control gate electrode and the well; amemory gate electrode formed over the sidewall on one side of thecontrol gate electrode and insulated from the control gate and electrodethe semiconductor substrate through the second gate insulation film; adrain region comprised of a semiconductor region of a secondconductivity type functioning as the conductivity type opposite to thefirst conductivity type formed over the semiconductor substrate in thevicinity of the control gate electrode; and a source region comprised ofa semiconductor region of the second conductivity type formed over thesemiconductor substrate in the vicinity of the memory gate electrode,and wherein the gate length of the memory gate electrode of the firstmemory cell is longer than the gate length of the memory gate electrodeof the second memory cell.
 2. A semiconductor device according to claim1, wherein the height of the top face of the memory gate electrode ineach of the first and second memory cells is lower than the height ofthe top face of the control gate electrode in each of the first andsecond memory cells.
 3. A semiconductor device according to claim 1,wherein the first memory cell is used for storing data and the secondmemory cell is used for programs.
 4. A semiconductor device according toclaim 1, wherein the memory gate electrode in the second memory cell isformed in the shape of a sidewall over a sidewall of the control gateelectrode of the second memory cell.
 5. A semiconductor device accordingto claim 1, wherein the memory gate electrode in the first memory cellis formed so as to cover a side face on one side and the top face of thecontrol gate electrode in the first memory cell through the second gateinsulation film and overhang the top face of the control gate electrodein the first memory cell.
 6. A semiconductor device according to claim2, wherein a part of the top face of the memory gate electrode in eachof the first and second memory cells is covered with an insulation filmformed over the side face of the control gate electrode in the shape ofa sidewall, wherein silicide is formed over the upper parts of thecontrol gate electrodes, the regions of the upper parts of the memorygate electrodes not covered with the insulation film, the sourceregions, and the drain regions, respectively, and wherein silicide isnot formed in the region of the upper parts of the memory gateelectrodes covered with the insulation film.
 7. A semiconductor deviceaccording to claim 1, wherein the second gate insulation film is formedwith a laminated film containing a charge retention film.
 8. Asemiconductor device according to claim 1, wherein the second gateinsulation film and the memory gate electrode in the first memory cellare formed also over a sidewall on the other side of the control gateelectrode in the first memory cell.
 9. A semiconductor device accordingto claim 8, wherein the second gate insulation film and the memory gateelectrode in the second memory cell are formed also over a sidewall onthe other side of the control gate electrode in the second memory cell.10. A method for producing a semiconductor device including a firstmemory cell having a first control gate electrode and a first memorygate electrode and a second memory cell having a second control gateelectrode and a second memory gate electrode, the first and secondmemory cells being formed over the main face of a semiconductorsubstrate, the method comprising the steps of: (a) forming a well of afirst conductivity type over the semiconductor substrate; (b) forming afirst gate insulation film over the well; (c) forming the first andsecond control gate electrodes over the first gate insulation film; (d)after the step (c), forming a second gate insulation film over the mainface of the semiconductor substrate; (e) after the step (d), forming aconductive film over the main face of the semiconductor substrate; (f)after the step (e), forming a first insulation film over the main faceof the semiconductor substrate; (g) patterning the first insulation filmin the manner of covering the first control gate electrode and thevicinity thereof; (h) after the step (g), forming a sidewall comprisedof the first insulation film by anisotropic etching over the side faceof the conductive film with which the sidewall of the first control gateelectrode is covered; (i) after the step (h), forming the first andsecond memory gate electrodes over both the sidewalls of the first andsecond control gate electrodes by patterning the conductive film formedover the second gate insulation film; (j) after the step (i), removingthe sidewall; (k) after the step (j); removing one of the first andsecond memory gate electrodes formed over both the sidewalls of each ofthe first and second control gate electrodes; (l) after the step (k),leaving the second gate insulation film between the sidewalls of thefirst and second control gate electrodes and the first and second memorygate electrodes and between the well and the first and second memorygate electrodes by patterning the second gate insulation film; and (m)after the step (l), forming source and drain regions of a secondconductivity type functioning as the conductivity type opposite to thefirst conductivity type of the first and second memory cellsrespectively in the well, wherein the first memory gate electrode isformed so as to have a gate length longer than the gate length of thesecond memory gate electrode.
 11. A method for producing a semiconductordevice according to claim 10, wherein, in the step (i), the height ofthe top face of the memory gate electrode in each of the first andsecond memory cells is lower than the height of the top face of thecontrol gate electrode in each of the first and second memory cells. 12.A method for producing a semiconductor device according to claim 10,wherein the first memory cell is used for storing data and the secondmemory cell is used for programs.
 13. A method for producing asemiconductor device according to claim 10, wherein, in the step (i),the second memory gate electrode is formed in the shape of a sidewallover a sidewall of the second control gate electrode.
 14. A method forproducing a semiconductor device according to claim 11, furthercomprising, after the step (m), the steps of: (n) covering parts of thetop faces of the first and second memory gate electrodes with a secondinsulation film formed in the shape of a sidewall over the side faces ofthe first and second control gate electrodes; and (o) forming silicideover the upper parts of the control gate electrodes, the regions of theupper parts of the memory gate electrodes not covered with the secondinsulation film, the source regions, and the drain regions,respectively.
 15. A method for producing a semiconductor deviceaccording to claim 10, wherein the step (d) of forming the second gateinsulation film includes the steps of: (d1) after the step (c), forminga first potential barrier film over the semiconductor substrate; (d2)forming a charge retention film over the first potential barrier film;and (d3) forming a second potential barrier film over the chargeretention film.
 16. A method for producing a semiconductor deviceaccording to claim 10, wherein, in the step (k), the first memory gateelectrode is not removed and is left over both the sidewalls of thefirst control gate electrode and the second memory gate electrode overthe sidewall on one side of the second control gate electrode isremoved.
 17. A method for producing a semiconductor device according toclaim 10, wherein, in the step (k), the first and second memory gateelectrodes are not removed and are left over both the sidewalls of thefirst and second control gate electrodes.
 18. A method for producing asemiconductor device including a first memory cell having a firstcontrol gate electrode and a first memory gate electrode and a secondmemory cell having a second control gate electrode and a second memorygate electrode, the first and second memory cells being formed over themain face of a semiconductor substrate, the method comprising the stepsof: (a) forming a well of a first conductivity type over thesemiconductor substrate; (b) forming a first gate insulation film overthe well; (c) forming the first and second control gate electrodesthrough the first gate insulation film; (d) after the step (c), forminga second gate insulation film over the main face of the semiconductorsubstrate; (e) after the step (d), forming a conductive film over themain face of the semiconductor substrate; (f) after the step (e),covering the region ranging from a part of the top face of the firstcontrol gate electrode to the region ranging from a sidewall on one sideof the first control gate electrode to the semiconductor substrate inthe vicinity of the first control gate electrode with a photoresist; (g)after the step (f), by patterning the conductive film formed over thesecond gate insulation film, forming the first memory gate electrodecomprised of the conductive film over a side face of one side of thefirst control gate electrode, forming a side wall comprised of theconductive film over the sidewall on the other side of the first controlgate electrode at the lower part of the photoresist, forming a secondmemory gate electrode over both the sidewalls of the second control gateelectrode, and thereafter removing the photoresist; (h) after the step(g), removing the sidewall and the second memory gate electrode over thesidewall on one side of the second control gate electrode; (i) after thestep (h), leaving the second gate insulation film between the sidewallsof the first and second control gate electrodes and the first and secondmemory gate electrodes and between the semiconductor substrate and thefirst and second memory gate electrodes by patterning the second gateinsulation film; and (j) after the step (i), forming source and drainregions of a second conductivity type functioning as the conductivitytype opposite to the first conductivity type of the first and secondmemory cells in the well, respectively, wherein the first memory gateelectrode is formed so as to have a gate length longer than the gatelength of the second memory gate electrode.
 19. A method for producing asemiconductor device according to claim 18, wherein the first memorycell is used for storing data and the second memory cell is used forprograms.
 20. A method for producing a semiconductor device according toclaim 18, wherein the step (d) of forming the second gate insulationfilm includes the steps of: (d1) after the step (c), forming a firstpotential barrier film over the semiconductor substrate; (d2) forming acharge retention film over the first potential barrier film; and (d3)forming a second potential barrier film over the charge retention film.21. A method for producing a semiconductor device according to claim 18,wherein, in the step (f), the photoresist formed over a sidewall on oneside of the first control gate electrode is formed also over a sidewallon another side likewise, wherein in the step (g), the first and secondmemory gate electrodes are formed over both the sidewalls of the firstand second control gate electrodes, and, wherein, in the step (h), thefirst memory gate electrode is not removed and is left over both thesidewalls of the first control gate electrode and the second memory gateelectrode over the sidewall on one side of the second control gateelectrode is removed.
 22. A method for producing a semiconductor deviceaccording to claim 18, wherein, in the step (f), the photoresist formedover a sidewall on one side of the first control gate electrode isformed also over a sidewall on another side likewise, wherein in thestep (g), the first and second memory gate electrodes are formed overboth the sidewalls of the first and second control gate electrodes, and,wherein in the step (h), the first and second memory gate electrodes arenot removed and are left over both the sidewalls of the first and secondcontrol gate electrodes.